/*
 * @Author: Broin
 * @Date: 2021-12-30 04:07:10
 * @LastEditTime: 2022-01-04 21:45:19
 * @LastEditors: your name
 * @Description: 
 * @FilePath: /ac_interface/vue.config.js
 * MADE BY BROIN
 */

module.exports = {
    devServer: {
        overlay: {
            warnings: false,
            errors: false
        },
        proxy: {
            '/socket.io/**': {
                target: 'http://172.21.4.154:4002',
                ws: true,
                changeOrigin: true
            },
            'sockjs-node/**': {
                target: 'http://172.21.4.154:4002',
                ws: false,
                changeOrigin: true
            },
            '/socket.io': {
                target: 'http://172.21.4.154:8080',
                ws: true,
                changeOrigin: true
            },
            'sockjs-node': {
                target: 'http://172.21.4.154:8080',
                ws: false,
                changeOrigin: true
            }
        }
    },
    lintOnSave: false
}